package com.ourhours.message.service;

import com.ourhours.message.domain.SmsSend;
import com.baomidou.mybatisplus.service.IService;
import com.ourhours.message.enums.ApiResponseCode;


/**
 * <p>
 * 消息发送记录表 服务类
 * </p>
 *
 * @author dalong.wang
 * @since 2018-03-20
 */
public interface SmsSendService extends IService<SmsSend> {

    /**
     * 发送有内容短信,包含短信从code
     */
    public Boolean sendMessage(SmsSend smsSend);
    /**
     * 验证码进行验证
     */
    public Boolean verifyPhoneVacode(SmsSend smsSend);
    /**
     * 修改记录状态
     */
    void setSmsSendStatus(Long id,Integer status,String errCode,String reason);

}
